home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / pcboard / newflg51.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1996-01-22  |  725b  |  38 lines

  1. @echo off
  2. if *%1 == * goto explain
  3. if *%2 == * goto explain
  4.  
  5. if not exist %1 goto explain
  6. if not exist %2\con goto explain
  7.  
  8. :install
  9. copy *.* %2
  10.  
  11. mkpcbtxt %1 /i:549 "!%2\NEWFLAG.PPE"
  12. mkpcbtxt %1 /i:176 "!%2\PUTDATA.PPE"
  13. mkpcbtxt %1 /i:478 "!%2\PUTDATA.PPE"
  14.  
  15. :done
  16. echo  
  17. echo NEWFLAG.PPE has been installed
  18. echo  
  19. goto end
  20.  
  21. :explain
  22. echo  
  23. echo Installation of NEWFLAG.PPE
  24. echo ------------------------
  25. echo Usage:   INSTALL pcbtext ppedir
  26. echo  
  27. echo Where "pcbtext" is the PCBTEXT file to update.
  28. echo  
  29. echo And "ppedir" is where you want to store the PPE files, DOCS, etc.
  30. echo  
  31. echo  
  32. echo Example usage:
  33. echo  
  34. echo     INSTALL C:\PCB\GEN\PCBTEXT C:\PCB\PPE\FLAG
  35. echo  
  36. pause
  37.  
  38. :end